package com.yazi.mxz.fieldsale.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.yazi.mxz.fieldsale.entity.beans.StoreGoods;


public interface StoreGoodsRepository extends MongoRepository<StoreGoods, Long> {
	Page<StoreGoods> findByBarCode(String barCode,Pageable pageable);
	Page<StoreGoods> findByBarCodeLike(String barCode,Pageable pageable);
}
